package com.allen.study.infrastructure.persistence.po;

import com.allen.study.common.base.SnowflakeBasePO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 审批记录表持久化对象
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
@Getter
@Setter
@TableName(value = "APPROVAL_RECORD")
public class ApprovalRecordPO extends SnowflakeBasePO {

    /**
     * 
     */
    @TableField("process_instance_id")
    private String processInstanceId;

    /**
     * 
     */
    @TableField("approver_id")
    private String approverId;

    /**
     * 
     */
    @TableField("approval_result")
    private Boolean approvalResult;

    /**
     * 
     */
    @TableField("approval_reason")
    private String approvalReason;

    @TableField("event_name")
    private String eventName;

    /**
     * 
     */
    @TableField("approval_time")
    private LocalDateTime approvalTime;
}
